package com.minimalist.common.entity.lindi.enums;



/**
 * @author 11987
 */
public class LindiEnterpriseRegistrationEnum{
    public enum StatusEnum{
        /**
         * 审核状态
         */
        PENDING(0, "待审核"),
        APPROVED(1, "审核通过"),
        REJECTED(2, "审核未通过");

        private final Integer code;
        private final String desc;

        StatusEnum(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public Integer getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }
    }

    public enum ErrorMsgEnum{
        /**
         * 错误信息
         */
        ENTERPRISE_REGISTRATION_NOT_EXIST("企业注册信息不存在"),
        ENTERPRISE_REGISTRATION_EXIST("企业注册信息已存在"),
        ENTERPRISE_NAME_REGISTERED("该企业名称已被注册"),
        ENTERPRISE_MOBILE_REGISTERED("该企业联系方式已被注册");

        private final String desc;

        ErrorMsgEnum(String desc) {
            this.desc = desc;
        }

        public String getDesc() {
            return desc;
        }
    }
}
